import request from '@/utils/request'

// 查询方向导师列表
export function listStudectTeacher(query) {
  return request({
    url: '/StudectTeacher/StudectTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询方向导师详细
export function getStudectTeacher(id) {
  return request({
    url: '/StudectTeacher/StudectTeacher/' + id,
    method: 'get'
  })
}

// 新增方向导师
export function addStudectTeacher(data) {
  return request({
    url: '/StudectTeacher/StudectTeacher',
    method: 'post',
    data: data
  })
}

// 修改方向导师
export function updateStudectTeacher(data) {
  return request({
    url: '/StudectTeacher/StudectTeacher',
    method: 'put',
    data: data
  })
}

// 删除方向导师
export function delStudectTeacher(id) {
  return request({
    url: '/StudectTeacher/StudectTeacher/' + id,
    method: 'delete'
  })
}
